package com.atguigu.tingshu.account.client;

import com.atguigu.tingshu.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * <p>
 * 产品列表API接口
 * </p>
 *
 * @author qy
 */
@FeignClient(name = "service-account", path = "/client/account/userAccount" , contextId = "userAccountFeignClient")
public interface UserAccountFeignClient {

    /**
     * 获取余额支付的支付url
     * @param params
     * @return
     */
    @GetMapping("/getPayInfo")
    public Result getPayInfo(@RequestParam Map<String,String> params);


}